package com.zc.service.permissionService;

import com.zc.dto.PageDto;
import com.zc.dto.ResultDto;
import com.zc.entity.Nav;
import com.zc.entity.Path;
import com.zc.entity.Role;
import com.zc.entity.Users;

import java.util.List;
import java.util.Map;

public interface PermissionService {
    void saveRole(Role role, String permissionList, Users users) throws Exception;

    List<Role> findAllRole(String roleId) throws Exception;

    String findAllPathByroleId(String roleId)throws Exception;

    Map<String,Object> findRoleDetail(Integer roleId) throws Exception;

    void deleteRoleById(Integer roleId) throws Exception;

    void saveUser(Users user)throws Exception;
}
